package com.huatai.datacenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_quality_run_log")
public class TbQualityRunLogEntity{
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("运行日志id")
    private Long id;

    @TableField(value = "tables")
    @ApiModelProperty("表名")
    private String tables;

    @TableField(value = "log_type")
    @ApiModelProperty("日志类型")
    private String logType;

    @TableField(value = "create_time")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @TableField(value = "update_time")
    @ApiModelProperty("更新时间")
    private LocalDateTime update_time;

    @TableField(value = "remark")
    @ApiModelProperty("日志消息")
    private String remark;

    @TableField(value = "requestId")
    @ApiModelProperty("tb_request表id")
    private String requestId;

    @TableField(value = "deleted")
    @ApiModelProperty("是否删除")
    private Integer deleted;
}
